C 分隔符查找

    char *string2 ="C, 1972; C++,1983; Java,1995;Rust,2010;Kotlin, 2011";
    char *break_set = ",;";
    int count =0 ;
    char *p = string2;

    do {
        if (p){
            puts(p);
            p++;
            count ++;
        }
        p = strpbrk(p,break_set);
    } while (p);
    PRINTLNF("Found %d characters.", count);